﻿@inherits Vowei.Web.G18nWebViewPage
@using System.Web.Mvc.Html 
@using Vowei.Web.Helpers

@{
    ViewBag.Title = "管理用户组";
}

<h2>@T("管理用户组")</h2>

<table>
  <tr>
    <th></th>
    <th>
      用户组名称
    </th>
  </tr>
  @foreach (var role in ViewBag.Roles)
  {
  <tr>
    <td>
      <a href="/Role/Edit/?role=@Url.Encode(role)">@T("编辑")</a>
      <a href="/Role/Delete/?role=@Url.Encode(role)">@T("删除")</a>
    </td>
    <td>
      @role
    </td>
  </tr>
  }
</table>